package com.chinaisafe.module.user.request;

import com.chinaisafe.base.common.validated.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

/**
 * RoleUserReq
 * Description：
 *
 * @author tby
 * @date 2024/7/15 16:27
 */
@Data
@Schema(description = "角色修改用户")
public class RoleUserReqVO {
    @Schema(description = "角色id")
    @NotBlank(message = "角色id不能为空", groups = {UpdateGroup.class})
    private Long roleId;
    @Schema(description = "用户id集合")
    @NotBlank(message = "用户id集合为空", groups = {UpdateGroup.class})
    private List<Long> userIds;
}
